package com.base.cn.platform.os.entity.book.count;

import lombok.Data;

/**
 * 图书统计数据量对象
 *
 * @author s.li
 * @date 2019/04/23
 */
@Data
public class BookSumCount {
    /**图书总量*/
    private Integer bookNum;
    /**在售图书总量*/
    private Integer sellBookNum;
    /**非在售图书总量*/
    private Integer notSellBookNum;

    public Integer getBookNum() {
        return bookNum == null? 0 : bookNum;
    }

    public Integer getSellBookNum() {
        return sellBookNum == null? 0 : sellBookNum;
    }

    public Integer getNotSellBookNum() {
        return notSellBookNum== null? 0: notSellBookNum;
    }
}
